/*
 * MessageDaoIfc.java
 *
 * Created on September 24, 2008, 6:35 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.vacuela.publishmx.dal;

import java.util.List;
import org.vacuela.publishmx.domains.Message;

/**
 *
 * @author nestor.carrasco
 */
public interface MessageDaoIfc {
    public boolean saveUpdate(Message msg);    
    public boolean scheduleIndMessages(Message msg);
    
    public boolean scheduleMassiveMessages(Message msg);
    
    public List getMessageByUserId(Integer userId);
    
    public List getMessageList();
    
    public Message getMessage(Integer msgId);
    
    public List getMessagesSentBetween(String start, String finish);
    
    public List getNewInputMessages();
    
    public boolean changeStatus(String msgId, String newStatus);
    
}
